package com.zmn.oms.services.interfaces.log;

import com.zmn.oms.model.entity.log.EntrustOrderSyncLog;

import java.util.List;

/**
 * 类描述：
 *
 * @author lhl
 * @date 2020/01/02 16:51
 */
public interface EntrustOrderSyncLogService {

    /**
     * Id查找
     * @param logId
     * @return
     */
    EntrustOrderSyncLog findByKey(Long logId);

    /**
     * EntrustOrderId查找
     * @param entrustOrderId
     * @return
     */
    List<EntrustOrderSyncLog> listByEntrustOrderId(Long entrustOrderId);

    /**
     * 插入
     * @param entrustOrderSyncLog
     * @return
     */
    int insertEntrustOrderSyncLog(EntrustOrderSyncLog entrustOrderSyncLog);
}
